package com.wwc.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwc.business.controller.dto.train.TrainDeleteDTO;
import com.wwc.business.controller.dto.train.TrainInsertDTO;
import com.wwc.business.controller.dto.train.TrainSelectListDTO;
import com.wwc.business.controller.dto.train.TrainUpdateDTO;
import com.wwc.business.controller.vo.TrainSelectListVO;
import com.wwc.business.entity.Train;
import com.wwc.common.response.PageResponse;

import java.util.List;

public interface ITrainService extends IService<Train>{
	void insert(TrainInsertDTO trainInsertDTO);

	void update(TrainUpdateDTO trainUpdateDTO);

	void delete(TrainDeleteDTO trainDeleteDTO);

	PageResponse<TrainSelectListVO> selectListPage(TrainSelectListDTO trainSelectListDTO);

	List<TrainSelectListVO> selectList();
}
